import service from '@/utils/request'

const MemberApi = {
    listMember:function(data){
        return service.get('member/page', {params:data})
      },
    addMember:function(data){
        return service.post('member', data)
    },
    editMember:function(data){
        return service.put('member', data)
    },
    deleteMember:function(data){
        return service.put('member/delete', data)
    },
    getMemberInfo(data){
        return service.get('member', {params:data})
    },
}

export default MemberApi
